import http from "@/utils/request";

function userloginRequest(userName,password){
  return http({
    method:'post',
    url:'/api/v1/auth/manager_login',
    data:{
      userName,
      password
    }
  })
}


function userinfoRequest(){
  return http({
    method:'get',
    url:'/api/v1/auth/manager_info'
  })
}

export {userloginRequest,userinfoRequest}